package com.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@MapperScan("com.example.mapper") //扫描mapper的接口，完成与xml文件的映射关系
@SpringBootApplication
public class SpringbootMybatis03Application {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootMybatis03Application.class, args);
    }

}
